# 处理websocket请求
from django.urls import re_path

from stw_app import consumers

websocket_urlpatterns = [
    re_path(r'ws/chat/(?P<room_name>[-\w]+)/(?P<user_id>\w+)/$', consumers.ChatConsumer.as_asgi()),
]
